using System;

namespace WordTestApp
{
    public class ControlsWriter
    {
        public void Write(string text, ConsoleColor color)
        {
            Write(text, color, true);
        }
        public void Write(string text, ConsoleColor color, bool writeLine)
        {
            Console.ForegroundColor = color;
            if (writeLine)
            {
                Console.WriteLine(text);
            }
            else
            {
                Console.Write(text);
            }
            Console.ResetColor();
        }
    }
}
